Skip to content

Fix the MySQL version detection and only use up to MySQL 8.x#918

Closed
dbussink wants to merge 1 commit intomainfrom
dbussink/fix-mysql-version-detection
Closed

Fix the MySQL version detection and only use up to MySQL 8.x#918
dbussink wants to merge 1 commit intomainfrom
dbussink/fix-mysql-version-detection

Conversation

@dbussink
Copy link
Collaborator

@dbussink dbussink commented Oct 9, 2024

MySQL 9.x is backwards compatibility breaking as it removes support for mysql_native_password which is what is used with PlanetScale as the default at the moment.

So enforce MySQL 8.x as the latest at the moment.

Also upgrade planetscale-go and add some empty test mocks for now so it can compile. This update removes a bunch of legacy code so it can't be used accidentally either.

MySQL 9.x is backwards compatibility breaking as it removes support for
`mysql_native_password` which is what is used with PlanetScale as the
default at the moment.

So enforce MySQL 8.x as the latest at the moment.

Also upgrade planetscale-go and add some empty test mocks for now so it
can compile. This update removes a bunch of legacy code so it can't be
used accidentally either.

Signed-off-by: Dirkjan Bussink <d.bussink@gmail.com>
@dbussink dbussink requested a review from a team as a code owner October 9, 2024 08:32
@dbussink
Copy link
Collaborator Author

dbussink commented Oct 9, 2024

Fixes #916

@dbussink
Copy link
Collaborator Author

dbussink commented Oct 9, 2024

I had planetscale/psdbproxy#24 as an alternative idea here that's more future proof but breaks some really old clients with the CLI / proxy.

@dbussink dbussink marked this pull request as draft October 9, 2024 14:58
@dbussink
Copy link
Collaborator Author

dbussink commented Oct 9, 2024

Closing in favor of #919

@dbussink dbussink closed this Oct 9, 2024
@dbussink dbussink deleted the dbussink/fix-mysql-version-detection branch October 9, 2024 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants